package cn.watson.org.mapper;

import cn.watson.basic.mapper.BaseMapper;
import cn.watson.basic.utils.PageList;
import cn.watson.org.domain.Department;
import cn.watson.org.query.DepartmentQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @Description: TODO
* @Author: ZhangRui
* @Version: 1.0
* @Date:  2022/6/21 18:23
*/
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    /*// 分页+高级查询
    List<Department> queryData(DepartmentQuery departmentQuery);

    //查询所有
    List<Department> loadAll();

    // 更具id查询
    Department loadById(Long id);

    // 更具id删除
    void remove(Long id);

    // 修改
    void update(Department department);


    // 新增
    void save(Department department);

    // 查询总条数
    Integer queryCount(DepartmentQuery departmentQuery);


    // 批量删除
    void patchDel(List<Long> ids);*/
}
